﻿using System.Web.Mvc;

namespace AppManager.Background
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute() { View = "~/Views/Error/Index.cshtml" });
            filters.Add(new NeedLoginAttribute());
        }
    }
}